package com.example.bankend.form;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class SelectBalance {
    @JsonProperty("cardID")
    private String cardID;
    @JsonProperty("pass")
    private String pass;

    public boolean isTure() {
        return cardID != null && pass != null;
    }
}
